package com.eastmoney.emis.edda.infrastructure.report.repository;

import com.eastmoney.emis.edda.infrastructure.report.ReportType;
import com.eastmoney.emis.edda.infrastructure.report.po.EmhkHsbcReportFilePo;

import java.time.LocalDateTime;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.infrastructure.report.repository
 * @author: 汪程程
 * @date: 2022/11/3 1:32 PM
 * @version: 1.0
 */
public interface ReportRepository {


    void save(LocalDateTime pullDate, String fileName, String storePath, ReportType type);

    EmhkHsbcReportFilePo findByDateAndType(String reportDate, ReportType type);

    boolean exists(String reportDate, ReportType type);
}
